local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, CommonOHOH.files.BaseComponent());

--概述：控制怪物的动画播放

----------
function M.new(self,...)
	return M(self,...);
end;

function M.ctor(self, parent)
	M.super.ctor(self, parent);

	-- self.player=self.parent.player
	-- self.character=self.parent

    -- self.Weapon=_G.CommonOHOH.load.FriendRow().new("1_1",self.character,self.player)

	-- self.AttackState=self.character:GetState("attack")

    
	-- self.AttackState.EnterEvent:Connect(function()
	-- 	self.Weapon:StartAttack()
		
	-- end)
	
end;

--获取武器
function M.GetWeapon(self)
	return  self.Weapon
end

function M.dtor(self)

	M.super.dtor(self);
end



return M